package org.candy.ioc.service;

//import cn.api.base.Logger;

import lombok.Data;
import org.candy.ioc.annotation.IAutowired;
import org.candy.ioc.annotation.IComponent;
import org.candy.ioc.entity.User;

@IComponent("userService")
public @Data class UserServiceImpl implements UserService {

    @IAutowired private User user;
//    @IAutowired private Logger logger1;

    @Override
    public void sysOutUser() {
        System.out.println(this.user);
    }
}
